package com.auto.code.core.domain;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @desc 数据库表属性
 * @author meikb
 * @date 2019年9月29日	
 *
 */
public class GenTableEntity implements Serializable{
	private static final long serialVersionUID = 1L;
    /**
     * 表名
     */
    private String tableName;
    /**
     * Java 表名
     */
    private String name;
    /**
     * 中文名称
     */
    private String chinaName;
    /**
     * 注释
     */
    private String comment;
    /**
     * 是否导入Excel
     */
    private Integer isImport = 1;

    /**
     * 是否导出Excel
     */
    private Integer isExport = 1;
    /**
     * 是否生产API接口
     */
    private Integer api = 1;

    /**
     * 是否分页
     */
    private Integer isPagination = 1;

    /**
     * 表字段
     */
    private List<GenFieldEntity> fields;

	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}

	/**
	 * @param tableName the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the chinaName
	 */
	public String getChinaName() {
		return chinaName;
	}

	/**
	 * @param chinaName the chinaName to set
	 */
	public void setChinaName(String chinaName) {
		this.chinaName = chinaName;
	}

	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * @param comment the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}

	/**
	 * @return the isImport
	 */
	public Integer getIsImport() {
		return isImport;
	}

	/**
	 * @param isImport the isImport to set
	 */
	public void setIsImport(Integer isImport) {
		this.isImport = isImport;
	}

	/**
	 * @return the isExport
	 */
	public Integer getIsExport() {
		return isExport;
	}

	/**
	 * @param isExport the isExport to set
	 */
	public void setIsExport(Integer isExport) {
		this.isExport = isExport;
	}

	/**
	 * @return the api
	 */
	public Integer getApi() {
		return api;
	}

	/**
	 * @param api the api to set
	 */
	public void setApi(Integer api) {
		this.api = api;
	}

	/**
	 * @return the isPagination
	 */
	public Integer getIsPagination() {
		return isPagination;
	}

	/**
	 * @param isPagination the isPagination to set
	 */
	public void setIsPagination(Integer isPagination) {
		this.isPagination = isPagination;
	}

	/**
	 * @return the fields
	 */
	public List<GenFieldEntity> getFields() {
		return fields;
	}

	/**
	 * @param fields the fields to set
	 */
	public void setFields(List<GenFieldEntity> fields) {
		this.fields = fields;
	}
}
